import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store'

//全部引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//引入全局样式
import './assets/css/global.css'
//引入iconfont
/*import './assets/iconfont/iconfont.css'*/
import './assets/iconfont/iconfont.css'

// 引入登录滑块验证插件
import SlideVerify from 'vue-monoplasty-slide-verify';
Vue.use(SlideVerify)


// 将限制函数文件input输入只能为数字
// 绑定到vue原型上，供全局使用
import limit from "./util/limit";
Vue.prototype.$limit = limit;

/* 引入百度富文本编辑器 */
import '../public/UEditor/ueditor.config.js'
import '../public/UEditor/ueditor.all.min.js'
import '../public/UEditor/lang/zh-cn/zh-cn.js'
import '../public/UEditor/ueditor.parse.min.js'


//导入axios
import axios from "axios";
//挂载axios
Vue.prototype.$http = axios;
//设置访问路径
axios.defaults.baseURL="http://localhost:9000/"

import JsonExcel from 'vue-json-excel'
Vue.component('downloadExcel', JsonExcel)

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')



